package qsou.rpc.framework.common.utils;

/**
 * @description:
 * @auther: wuxw
 * @Date: 2022/3/29 15:50
 */
public class StringUtil {
  public static boolean isBlank(String s){
    if(s == null || s.length() == 0 ){
      return true;
    }
    for(int i = 0; i < s.length(); ++i){
      if(!Character.isWhitespace(s.charAt(i))){
        return false;
      }
    }
    return true;
  }
}